import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
const Login = resolve => require(['../page/login/Login'], resolve)
const Home = resolve => require(['../page/home/Home'], resolve)
const Index = resolve => require(['../page/home/Index'], resolve)
const player = resolve => require(['../page/home/user/player/player'], resolve)
export default new Router({
	routes: [{
			path: '/',
			component: Login
		},
		{
			path: '/Home',
			component: Home,
			children: [{
				path: '/',
				component: Index,
			},
			{
				path: '/Home/player',
				component: player,
			}]
		}
	]
})